package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;
import lombok.experimental.FieldNameConstants;

import java.util.Date;

/**
 * @Description: 统计数
 * @Author: luog
 * @Date: 2024/12/2
 */
@Data
@TableName("count")
public class Count {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;
    private String ip;
    private Integer count;
    @TableField("last_login_time")
    private Date lastLoginTime;
    @TableField("create_time")
    private Date createTime;
}
